package com.my.behaviourtype.chain.nohierarchy;

public class Filter2 implements Filter {

	@Override
	public void doFilter(StringBuffer request, StringBuffer response, FilterChain chain) {
		
		System.out.println("before 2");
		
		System.out.println("chain 2");
		request = request.append("+++");
		response = response.append("++++++");
		chain.doFilter(request, response);

		System.out.println("after 2");

	}

}
